#include "Log/output.h"

#include <iostream>


using namespace cv;
using namespace std;

asyncPrinter printer(100);
asyncDisplayer displayer(10);

ofstream outfile;
Socket sock("192.168.1.110", 8888,"TCP");
Socket rcvsock;
bool is_sock_connected = false;
bool is_senddata_updated = false;
float senddata[MAX_SEND_SIZE] = {0.0};

void print(const char * format, ...)
{
	va_list ap;
	va_start(ap, format);
	printer.print(format, ap);
	va_end(ap);
}
void display(const std::string & winname, const cv::Mat& img)
{
	displayer.display(winname, img);
}

void init_output()
{
	
}

void stop_output()
{
	
}

